/* 
  Middle East - Day
  Typora RTL theme
  design: isapanah.com
  date: 2019
  version: 1.1.0
*/

@import url("./middle-east-night.css");
@import url("./middle-east/code-3024-day.css");

/** ROOT VARIABLES **/
:root {
  --bg-color: #fbfbfb; /* change background */
  --text-color: #333333; /* change text color */
  --md-char-color: #b4b4b4; /* change color of meta characetrs like `*` in markdown */
  --meta-content-color: #757575; /* change color of meta contents like image text or link address in markdown */
  --link-color: #db4d52; /* change color of hyperlinks */

  --primary-color: #db4d52; /* primary color */
  --primary-btn-border-color: #be2f34; /* primary color for buttons */
  --primary-btn-text-color: #000; /* primary text color for buttons */
  --accent-color: #d0d0d0; /* background accent color */

  --window-border: 1px solid #16161a; /* border for sidebar, etc */

  --active-file-bg-color: #16161a; /* background color if list item in file tree or file list */
  --active-file-text-color: inherit; /* text color for selected file */
  --active-file-border-color: #777; /* border color for selected file */
  --active-search-item-bg-color: #23242b; /* background color for active search item */

  --side-bar-bg-color: #2e3235; /* change background of sidebar*/
  --item-hover-bg-color: #202020; /* background of control items when hover, like menu in sidebar*/
  --item-hover-text-color: white; /* text color upon hovering over menu items */
  --search-hit-bg-color: #db4d5230;
  --search-select-text-color: var(--text-color); /* Text color for selected searched text */
  --search-select-bg-color: #db4d5270; /* Background color for selected searched text */
  --rawblock-edit-panel-bd: var(--accent-color); /* Background color for inline HTML "edit panel" blocks */
  --monospace: "Cousine"; /* monospace font for codes, fences */

  --megamenu-bg-color: var(--bg-color); /* background color for unibody megamenu */
  --megamenu-sidebar-bg-color: var(--side-bar-bg-color); /* background color for megamenu sidebar */
  --megamenu-sidebar-hover-bg-color: #161819; /* background color for hovering megamenu sidebar items */
  --megamenu-sidebar-active-bg-color: #101010; /* background color for active megamenu sidebar items */
  --megamenu-button-border-color: #9292928f; /* background color for megamenu buttons */
  --megamenu-item-hover-bg-color: #e6e6e6; /* background color for hovering megamenu items */
  --megamenu-item-hover-text-color: #222222; /* text color for hovering megamenu items */
}

/** TAGS **/

mark {
  background: #adfe96;
}

code {
  background: #f7f7f7;
}

/* Tables */
thead {
  background: #d0d0d0;
}

table tr:nth-child(2n) {
  background: #e6e6e6;
}

/* Footnote */
sup.md-footnote {
  background: #dddddd;
}

/* Sidebar */
#typora-sidebar * {
  color: var(--bg-color);
}

/* Windows Unibody sidebar */
#megamenu-menu-sidebar, .megamenu-menu-list li:not(.saved) a:not(.active):hover, .megamenu-menu-list li a.active {
  color: var(--bg-color) !important;
}
